//
//  BoZeCarCell.swift
//  BoZeCalendar
//
//  Created by 李东 on 2024/4/11.
//

import UIKit

class BoZeCarCell: UITableViewCell {
    
    @IBOutlet weak var iconImgView: UIImageView!
    
    
    @IBOutlet weak var nameLabel: UILabel!
    

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    var model: BoZeCarModel! {
        didSet {
            iconImgView.image = UIImage(named: model.carIcon)
            nameLabel.text = model.carName
        }
    }
    
}
